package io.xxx.xbutler.sdk.domain;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class AppMsg {

    @JacksonXmlProperty(isAttribute = true)
    private String appid = "";

    @JacksonXmlProperty(isAttribute = true, localName = "sdkver")
    private String sdkVersion = "0";

    private String title;

    @JacksonXmlProperty(localName = "des")
    private String description;

    private String type;

    @JacksonXmlCData
    private String url;

    @JacksonXmlProperty(localName = "sourceusername")
    private String sourceUsername;

    @JacksonXmlProperty(localName = "sourcedisplayname")
    private String sourceDisplayName;

    @JacksonXmlProperty(localName = "weappinfo")
    private WeAppInfo weAppInfo;
}
